// 基于template/src/widgets/{{appEntities}}/{{ctrls@FORM}}-form/{{spinalCase ctrl.codeName}}-form-vo.ts.hbs生成
import { ControlVOBase } from '@/core';
import { transformValue } from '@/utils';
import { model } from './main-4-form-model';

export class FormControlVO extends ControlVOBase {
    constructor(data: any) {
        //  表单预置字段
        data.srfwfmemo = data['srfwfmemo'] ? data['srfwfmemo'] : '';
        data.srffrontuf = data['srffrontuf'] ? data['srffrontuf'] : '';
        super(data);
        //  表单自持属性
        this.$ownKeys = ['srfupdatedate', 'srforikey', 'srfkey', 'srfmajortext', 'srftempmode', 'srfuf', 'srfdeid', 'srfsourcekey', 'f1', 'field2', 'f2', 'formitem1', 'formitem2', 'formitem3', 'formitem4', 'f5', 'f6', 'f8', 'f7', 'f3', 'f4', 'f34', 'f9', 'f10', 'f11', 'f12', 'f13', 'f14', 'f15', 'formitem7', 'f16', 'f17', 'f18', 'f19', 'f20', 'f21', 'f22', 'f23', 'f35', 'f36', 'f37', 'f24', 'f25', 'f26', 'f27', 'formitem28', 'f29', 'formitem5', 'formitem6', 'formitem', 'formitem9', 'formitem12', 'formitem13', 'formitem8', 'formitem10', 'formitem11', 'ibizsample0002id', 'f30', 'f31', 'f32', 'f33', 'ibizsample0001id'];
    }
    get srfupdatedate() {
        return this.$DO.updatedate;
    }
    set srfupdatedate(value: any) {
        this.$DO.updatedate = value;
    }
    get srfkey() {
        return this.$DO.ibizsample0001id;
    }
    set srfkey(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    get srfmajortext() {
        return this.$DO.ibizsample0001name;
    }
    set srfmajortext(value: any) {
        this.$DO.ibizsample0001name = value;
    }
    get field2() {
        return this.$DO.field2;
    }
    set field2(value: any) {
        this.$DO.field2 = value;
    }
    get f5() {
        return this.$DO.ip;
    }
    set f5(value: any) {
        this.$DO.ip = value;
    }
    get f6() {
        return this.$DO.field01;
    }
    set f6(value: any) {
        this.$DO.field01 = value;
    }
    get f24() {
        return this.$DO.ibizsample0002name;
    }
    set f24(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get f25() {
        return this.$DO.ibizsample0002name;
    }
    set f25(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get f26() {
        return this.$DO.ibizsample0002name;
    }
    set f26(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get f27() {
        return this.$DO.ibizsample0002name;
    }
    set f27(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get formitem28() {
        return this.$DO.ibizsample0002name;
    }
    set formitem28(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get f29() {
        return this.$DO.ibizsample0002name;
    }
    set f29(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get formitem5() {
        return this.$DO.ibizsample0002name;
    }
    set formitem5(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get formitem6() {
        return this.$DO.ibizsample0002name;
    }
    set formitem6(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get ibizsample0002id() {
        return this.$DO.ibizsample0001id;
    }
    set ibizsample0002id(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    get f30() {
        return this.$DO.ibizsample0002name;
    }
    set f30(value: any) {
        this.$DO.ibizsample0002name = value;
    }
    get ibizsample0001id() {
        return this.$DO.ibizsample0001id;
    }
    set ibizsample0001id(value: any) {
        this.$DO.ibizsample0001id = value;
    }
    // 界面主键标识
    get ibizsample0001() {
        return this.$DO.ibizsample0001id;
    }

    set ibizsample0001(value: any) {
        this.$DO.ibizsample0001id = value;
    }

    //  工作流预置字段
    srfwfmemo: any;
    srffrontuf: any;

    //  无实体属性表单项
    get srftempmode() {
        return this.$DO.srftempmode;
    }

    set srftempmode(value: any) {
        this.$DO.srftempmode = value;
    }
    get f1() {
        return this.$DO.f1;
    }

    set f1(value: any) {
        this.$DO.f1 = value;
    }
    get f2() {
        return this.$DO.f2;
    }

    set f2(value: any) {
        this.$DO.f2 = value;
    }
    get formitem1() {
        return this.$DO.formitem1;
    }

    set formitem1(value: any) {
        this.$DO.formitem1 = value;
    }
    get formitem2() {
        return this.$DO.formitem2;
    }

    set formitem2(value: any) {
        this.$DO.formitem2 = value;
    }
    get formitem3() {
        return this.$DO.formitem3;
    }

    set formitem3(value: any) {
        this.$DO.formitem3 = value;
    }
    get formitem4() {
        return this.$DO.formitem4;
    }

    set formitem4(value: any) {
        this.$DO.formitem4 = value;
    }
    get f8() {
        return this.$DO.f8;
    }

    set f8(value: any) {
        this.$DO.f8 = value;
    }
    get f7() {
        return this.$DO.f7;
    }

    set f7(value: any) {
        this.$DO.f7 = value;
    }
    get f3() {
        return this.$DO.f3;
    }

    set f3(value: any) {
        this.$DO.f3 = value;
    }
    get f4() {
        return this.$DO.f4;
    }

    set f4(value: any) {
        this.$DO.f4 = value;
    }
    get f34() {
        return this.$DO.f34;
    }

    set f34(value: any) {
        this.$DO.f34 = value;
    }
    get f9() {
        return this.$DO.f9;
    }

    set f9(value: any) {
        this.$DO.f9 = value;
    }
    get f10() {
        return this.$DO.f10;
    }

    set f10(value: any) {
        this.$DO.f10 = value;
    }
    get f11() {
        return this.$DO.f11;
    }

    set f11(value: any) {
        this.$DO.f11 = value;
    }
    get f12() {
        return this.$DO.f12;
    }

    set f12(value: any) {
        this.$DO.f12 = value;
    }
    get f13() {
        return this.$DO.f13;
    }

    set f13(value: any) {
        this.$DO.f13 = value;
    }
    get f14() {
        return this.$DO.f14;
    }

    set f14(value: any) {
        this.$DO.f14 = value;
    }
    get f15() {
        return this.$DO.f15;
    }

    set f15(value: any) {
        this.$DO.f15 = value;
    }
    get formitem7() {
        return this.$DO.formitem7;
    }

    set formitem7(value: any) {
        this.$DO.formitem7 = value;
    }
    get f16() {
        return this.$DO.f16;
    }

    set f16(value: any) {
        this.$DO.f16 = value;
    }
    get f17() {
        return this.$DO.f17;
    }

    set f17(value: any) {
        this.$DO.f17 = value;
    }
    get f18() {
        return this.$DO.f18;
    }

    set f18(value: any) {
        this.$DO.f18 = value;
    }
    get f19() {
        return this.$DO.f19;
    }

    set f19(value: any) {
        this.$DO.f19 = value;
    }
    get f20() {
        return this.$DO.f20;
    }

    set f20(value: any) {
        this.$DO.f20 = value;
    }
    get f21() {
        return this.$DO.f21;
    }

    set f21(value: any) {
        this.$DO.f21 = value;
    }
    get f22() {
        return this.$DO.f22;
    }

    set f22(value: any) {
        this.$DO.f22 = value;
    }
    get f23() {
        return this.$DO.f23;
    }

    set f23(value: any) {
        this.$DO.f23 = value;
    }
    get f35() {
        return this.$DO.f35;
    }

    set f35(value: any) {
        this.$DO.f35 = value;
    }
    get f36() {
        return this.$DO.f36;
    }

    set f36(value: any) {
        this.$DO.f36 = value;
    }
    get f37() {
        return this.$DO.f37;
    }

    set f37(value: any) {
        this.$DO.f37 = value;
    }
    get formitem() {
        return this.$DO.formitem;
    }

    set formitem(value: any) {
        this.$DO.formitem = value;
    }
    get formitem9() {
        return this.$DO.formitem9;
    }

    set formitem9(value: any) {
        this.$DO.formitem9 = value;
    }
    get formitem12() {
        return this.$DO.formitem12;
    }

    set formitem12(value: any) {
        this.$DO.formitem12 = value;
    }
    get formitem13() {
        return this.$DO.formitem13;
    }

    set formitem13(value: any) {
        this.$DO.formitem13 = value;
    }
    get formitem8() {
        return this.$DO.formitem8;
    }

    set formitem8(value: any) {
        this.$DO.formitem8 = value;
    }
    get formitem10() {
        return this.$DO.formitem10;
    }

    set formitem10(value: any) {
        this.$DO.formitem10 = value;
    }
    get formitem11() {
        return this.$DO.formitem11;
    }

    set formitem11(value: any) {
        this.$DO.formitem11 = value;
    }
    get f31() {
        return this.$DO.f31;
    }

    set f31(value: any) {
        this.$DO.f31 = value;
    }
    get f32() {
        return this.$DO.f32;
    }

    set f32(value: any) {
        this.$DO.f32 = value;
    }
    get f33() {
        return this.$DO.f33;
    }

    set f33(value: any) {
        this.$DO.f33 = value;
    }

    //  表单重复器

    /**
     * 返回后台数据
     *
     * @return {*} 
     * @memberof FormControlVO
     */
	public getDo() {
        return {
            srffrontuf: this.srffrontuf,
            field2: this.$DO.field2,
ip: this.$DO.ip,
field01: this.$DO.field01,
ibizsample0002name: this.$DO.ibizsample0002name,
ibizsample0001id: this.$DO.ibizsample0001id,
updatedate: this.$DO.updatedate,
ibizsample0001name: this.$DO.ibizsample0001name,
f1: this.f1,
f2: this.f2,
formitem1: this.formitem1,
formitem2: this.formitem2,
formitem3: this.formitem3,
formitem4: this.formitem4,
f8: this.f8,
f7: this.f7,
f3: this.f3,
f4: this.f4,
f34: this.f34,
f9: this.f9,
f10: this.f10,
f11: this.f11,
f12: this.f12,
f13: this.f13,
f14: this.f14,
f15: this.f15,
formitem7: this.formitem7,
f16: this.f16,
f17: this.f17,
f18: this.f18,
f19: this.f19,
f20: this.f20,
f21: this.f21,
f22: this.f22,
f23: this.f23,
f35: this.f35,
f36: this.f36,
f37: this.f37,
formitem: this.formitem,
formitem9: this.formitem9,
formitem12: this.formitem12,
formitem13: this.formitem13,
formitem8: this.formitem8,
formitem10: this.formitem10,
formitem11: this.formitem11,
f31: this.f31,
f32: this.f32,
f33: this.f33,
        }
	}

}